﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucLogin.ascx.cs" Inherits="en_ucControl_l" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<script language="javascript" type="text/javascript">
    function UpdateParentsLogin() {
        tb_remove();
        window.parent.location = "ManagerPhotos.aspx";
    }
</script>

<div id="left">
    <img src="images/xd.jpg" /></div>
<div id="content_center">
    <div style="padding-top: 21px; text-align: center; color: Red">
        <asp:Label ID="lblMessage" style="color:Red" runat="server" Text=""></asp:Label></div>
    <p>
        <asp:TextBox ID="txtusername" runat="server" class="format_input"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*"
            ValidationGroup="login" ControlToValidate="txtusername"></asp:RequiredFieldValidator>
        <asp:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender1" runat="server" WatermarkCssClass="warterExt" TargetControlID="txtusername"
            WatermarkText="username">
        </asp:TextBoxWatermarkExtender>
    </p>
    <p>
        <asp:TextBox ID="txtpass" runat="server" class="format_input" TextMode="Password"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*"
            ValidationGroup="login" ControlToValidate="txtpass"></asp:RequiredFieldValidator>
            <asp:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender2" runat="server" TargetControlID="txtpass"
            WatermarkText="Password">
        </asp:TextBoxWatermarkExtender>
    </p>
    <p class="padding_center">
        <%--<a class="button" href="#">Log In</a></p>--%>
        <asp:Button ID="btnLogin" runat="server" CssClass="button" Text="Login" ValidationGroup="login"
            OnClick="btnLogin_Click" />
        <ul>
            <li><a href="#">I forgot my password !</a></li>
            <li>Don't have an account?
                <asp:HyperLink ID="hyRegister" runat="server" NavigateUrl="~/en/SignUp.aspx?keepThis=true&TB_iframe=true&width=700&height=560&ico=images/register.png"
                    CssClass="thickbox" ToolTip="SIGN UP">Sign Up</asp:HyperLink>
            </li>
        </ul>
</div>
